package com.quanyan.club.entity.vo.req;

import com.quanyan.BaseRequest;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * ReqClubActivitySearch
 *
 * @author Li Shuai
 * @date 16/5/27
 */
public class ReqClubActivitySearch extends BaseRequest implements Serializable{
    private static final long serialVersionUID = -2506191304097032009L;
    private String name;//活动/俱乐部名字模糊查询
    private Integer activityId;
    private Integer cityId;//城市
    private Integer placeId;//场馆id
    private Integer districtId;//区域
    private Integer categoryId;//运动项目
    private Integer clubId;//俱乐部id
    private Integer sortId;// 智能排序（默认），时间排序，距离排序， 价格升序， 价格降序,6场馆推荐
    private Integer time;// 0 周末，1 周一，2 周二，3周三，4周四，5周五，6周六，7 周日，8 黄金时段
    private String keyWords;//关键字
    private Integer type; // 0 未结束 1 已结束
    private Integer isSettle;//是否结算 0 未结算，1已结算
    private Double lat;
    private Double lng;
    private Integer currentUserId;
    private List<Integer> clubIds;
    private List<Integer> removeActivityIds;
    private Double distance;
    @NotNull
    private int pageNum;
    @NotNull
    private int pageSize;
    private List<Integer> categories;

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public List<Integer> getRemoveActivityIds() {
        return removeActivityIds;
    }

    public void setRemoveActivityIds(List<Integer> removeActivityIds) {
        this.removeActivityIds = removeActivityIds;
    }

    public List<Integer> getClubIds() {
        return clubIds;
    }

    public void setClubIds(List<Integer> clubIds) {
        this.clubIds = clubIds;
    }

    public Integer getCurrentUserId() {
        return currentUserId;
    }

    public void setCurrentUserId(Integer currentUserId) {
        this.currentUserId = currentUserId;
    }

    public List<Integer> getCategories() {
        return categories;
    }

    public void setCategories(List<Integer> categories) {
        this.categories = categories;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Integer getPlaceId() {
        return placeId;
    }

    public void setPlaceId(Integer placeId) {
        this.placeId = placeId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getClubId() {
        return clubId;
    }

    public void setClubId(Integer clubId) {
        this.clubId = clubId;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public String getKeyWords() {
        return keyWords;
    }

    public void setKeyWords(String keyWords) {
        this.keyWords = keyWords;
    }

    public Integer getIsSettle() {
        return isSettle;
    }

    public void setIsSettle(Integer isSettle) {
        this.isSettle = isSettle;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public Double getLat() {
        lat = lat == null?0.0:lat;
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLng() {
        lng = lng == null?0.0:lng;
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

}
